package miui.xmpp;

import miui.xmpp.message.Iq;
import miui.xmpp.message.Message;

/**
 * Created by ouyang on 15-6-1.
 */
public interface XmppServer {

    boolean start();

    boolean stop();

    int getListenPort();

    boolean send(String ip, int port, Iq iq);

    boolean send(String ip, int port, Message message);

    boolean send(String ip, int port, String message);
}